package com.refactor.practice.movie;


/**
 * @Desc: 抽象电影类型类
 * @Author: zoupinluowei@qianxin.com
 * @Date: 2024/9/6 21:40
 * @Since: 2.2.0
 */
public abstract class AbstractMovieType {

    /**
     * 获取金额
     *
     * @param dayRented 租期
     * @return
     */
    public abstract double getAmount(int dayRented);

    /**
     * 获取积分
     *
     * @param dayRented 租期
     * @return
     */
    public abstract int getPoints(int dayRented);

}
